<div class="child-box">
    <div class="layui-card layadmin-header">
        <div class="layui-breadcrumb" lay-filter="breadcrumb">
          <i class="iconfont iconshuxian left-line"></i>
          <a href="javascript:" lay-href="">首页</a>
          <a><cite>我的仓库</cite></a>
          <a><cite>仓库信息</cite></a>

          <div class="layui-card-header-left" title="刷新" zmark-event="layui.manage.render">
            <i class="layui-icon layui-icon-refresh layui-anim" zmark-anim="layui-anim-rotate"></i>
          </div>

        </div>
    </div>

    <div class="layui-card mt20">
         <!--境外仓库-->
         <div class="overseas_ware">
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>境外仓库</span></div>
            <div id="overseas-ware-div">

            </div>
         </div>
    </div>
    <div class="layui-card mt20">
        <!--境内仓库-->
        <div class="domestic_ware">
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>国内仓库</span></div>
            <div id="domestic-ware-div">

            </div>
        </div>
    </div>

</div>
<script type="text/html" id="tpl-overseas-ware-list">
     {{# layui.each(d,function(i,o){ }}
     <table class="layui-table"   cellpadding="0" cellspacing="0">
        <tbody>
            {{# if(layui.com.isNotEmpty(o.warehouseNo)){ }}
            <tr>
                <td>入仓号：</td>
                <td>{{o.warehouseNo}}</td>
            </tr>
            {{# } }}
            <tr>
                <td>中文名称：</td>
                <td>{{o.name}}</td>
            </tr> 
            <tr>
                <td>英文名称：</td>
                <td>{{o.name}}</td>
            </tr> 
            <tr>
                <td>公司名称：</td>
                <td>{{o.companyName}}</td>
            </tr>
            <tr>
                <td>中文地址：</td>
                <td>{{o.address}}</td>
            </tr>
            <tr>
                <td>英文地址：</td>
                <td>{{o.addressEn}}</td>
            </tr>
            <tr>
                <td>联系人</td>
                <td>{{o.linkPerson}}</td>
            </tr> 
            <tr>
                <td>联系电话</td>
                <td>{{o.linkTel}}</td>
            </tr>
        </tbody>
     </table>   
     {{# }); }}
</script>
<script>
    layui.use('warehouse', layui.factory('warehouse'));
</script>
<style type="text/css">
    .layui-table{
        margin-bottom: 30px;
    }
    tr td:nth-child(1){
       width:120px;
    }
    .layui-table td{
        font-size: 12px;
        border-style:none
    }
    .layui-table tbody tr:hover{
        background-color: #fff;
    }
</style>